package com.pikaqiu.warehouse.domain.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 *
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class Products extends BaseEntity implements Serializable {
    /**
     * 产品ID
     */
    private Integer id;

    private Integer companyId;

    /**
     * 产品编码
     */
    private String code;

    /**
     * 产品名称
     */
    private String name;

    /**
     * 产品描述
     */
    private String description;

    /**
     * 产品类别
     */
    private Integer category;

    /**
     * 产品计量单位
     */
    private String unit;

    private BigDecimal stock;

    /**
     * 产品单价
     */
    private BigDecimal price;

    private BigDecimal salary;

    private String images;

    /**
     * 产品状态，例如“在生产”、“已停产”
     */
    private Integer status;

    private static final long serialVersionUID = 1L;
}
